<form action="/backend/contact/<?php echo isset($record)?'update':'insert'; ?>" method="post">
    <input type="hidden" name="id" value="<?php echo isset($record)?$record->id:0;?>"/>
    <div class="form-row">
	<label for="map">地图</label>
	<input type="text" name="map" value="<?php echo isset($record)?$record->map:'';?>"/>
    </div>
    <div class="form-row">
	<label for="title_zh">标题（中文）</label>
	<input type="text" class="text" name="title_zh" value="<?php echo isset($record)?$record->title_zh:'';?>"/>
    </div>
    <div class="form-row">
	<label for="title_fr">标题（法文）</label>
	<input type="text" class="text" name="title_fr" value="<?php echo isset($record)?$record->title_fr:'';?>"/>
    </div>
    <div class="form-row">
	<label for="title_en">标题（英文）</label>
	<input type="text" class="text" name="title_en" value="<?php echo isset($record)?$record->title_en:'';?>"/>
    </div>
    <div class="form-row">
	<label for="address_zh">地址（中文）</label>
	<input type="text" class="text" name="address_zh" value="<?php echo isset($record)?$record->address_zh:'';?>"/>
    </div>
    <div class="form-row">
	<label for="address_fr">地址（法文）</label>
	<input type="text" class="text" name="address_fr" value="<?php echo isset($record)?$record->address_fr:'';?>"/>
    </div>
    <div class="form-row">
	<label for="address_en">地址（英文）</label>
	<input type="text" class="text" name="address_en" value="<?php echo isset($record)?$record->address_en:'';?>"/>
    </div>
    <div class="form-row">
	<label for="tel">电话</label>
	<input type="text" class="text" name="tel" value="<?php echo isset($record)?$record->tel:'';?>"/>
    </div>
    <div class="form-row">
	<label for="fax">传真</label>
	<input type="text" class="text" name="fax" value="<?php echo isset($record)?$record->fax:'';?>"/>
    </div>
    <div class="form-row">
	<label for="qq">QQ</label>
	<input type="text" class="text" name="qq" value="<?php echo isset($record)?$record->qq:'';?>"/>
    </div>
    <div class="form-row">
	<label for="email">电子邮箱</label>
	<input type="text" class="text" name="email" value="<?php echo isset($record)?$record->email:'';?>"/>
    </div>
    <div class="form-button">
	<input type="submit" class="submit" value="提交"/>
    </div>
</form>
